package com.google.gwt.livinglife.client;

import java.io.Serializable;
/**
 * 
 * @author amitprakash
 * We use this class to request additional comments or additional responses for a given post.
 *  
 */

public class AdditionalPostSelector implements Serializable {
	// True if we are requesting response and false if requesting comments 
	Boolean response;
	// Response id or challenge id for the parent post.
	Long post_id;
	
	ChallengeSelector.SortOrder order;
	
	// We may already have first few of the posts, so we request stuff aftr that index.
	int start_index;
	int end_index;

	public Boolean getResponse() {
		return response;
	}
	public void setResponse(Boolean response) {
		this.response = response;
	}
	public Long getPost_id() {
		return post_id;
	}
	public void setPost_id(Long postId) {
		post_id = postId;
	}
	public ChallengeSelector.SortOrder getOrder() {
		return order;
	}
	public void setOrder(ChallengeSelector.SortOrder order) {
		this.order = order;
	}
	public int getStart_index() {
		return start_index;
	}
	public void setStart_index(int startIndex) {
		start_index = startIndex;
	}
	public int getEnd_index() {
		return end_index;
	}
	public void setEnd_index(int endIndex) {
		end_index = endIndex;
	}
}
